/**
 * 郭楠project
 * com.gn.micblog.entity
 * TestMongo.java
 * 创建人:TonyGuo 
 * 时间：2016年11月28日-下午10:12:26 
 * 2016Tm公司-版权所有
 */
package com.gn.entity;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 
 * TestMongo
 * 创建人:TonyGuo
 * 时间：2016年11月28日-下午10:12:26 
 * @version 1.0.0
 * 
 */
public class User {
	 /** 
     *  
     */  
    private static final long serialVersionUID = 1L;  
    private String id;  
    private String name;  
    private int age;  
    private String password;  
      
    
	public User() {
	}

	public User(String id, String name, int age, String password) {
		this.id = id;
		this.name = name;
		this.age = age;
		this.password = password;
	}

	public String getName() {  
        return name;  
    }  
    
    public void setName(String name) {  
        this.name = name;  
    }  
    public int getAge() {  
        return age;  
    }  
    public void setAge(int age) {  
        this.age = age;  
    }  
    public String getPassword() {  
        return password;  
    }  
    public void setPassword(String password) {  
        this.password = password;  
    }  
    public String getId() {  
        return id;  
    }  
    public void setId(String id) {  
        this.id = id;  
    }  
}
